package cn.zhaozhiqi.pojo.dto.app;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OtherFreeDto {
    @NotEmpty(message = "订单编号不能为空")
    private String orderNo;
    //路桥费
    @NotNull
    private BigDecimal tollAmount;
    //停车费
    @NotNull
    private BigDecimal parkingAmount;
    //其他费用
    @NotNull
    private BigDecimal otherAmount;
}
